import 'package:json_annotation/json_annotation.dart';

part 'filed_property.g.dart';

@JsonSerializable()
class FieldProperty{
  late String label;
  @JsonKey(defaultValue: false)
  late bool? visible;
  @JsonKey(defaultValue: false)
  late bool? isMultiSelectedEnabled;
  late String position;
  FieldProperty(this.label,this.visible,this.isMultiSelectedEnabled,this.position);
  factory FieldProperty.fromJson(Map<String,dynamic> json)=>_$FieldPropertyFromJson(json);
  Map<String, dynamic> toJson() => _$FieldPropertyToJson(this);
}